<script setup lang="ts">
import { mpUpdate } from "@/utils/index";
import { useSystemStore } from "@/store";

onLaunch(() => {
  console.log("App Launch");
  const storeSystem = useSystemStore();
  storeSystem.getSystemInfo();
  // #ifdef MP-WEIXIN
  mpUpdate();
  // #endif
});
onShow(() => {
  console.log("App Show");
});
onHide(() => {
  console.log("App Hide");
});
</script>

<style lang="scss">
/* 每个页面公共css */
@import "uview-plus/index.scss";
@import "@/static/styles/common.scss";
@import "@/static/styles/init.scss";
@import "@/static/alIcons/iconfont.css";
view {
  box-sizing: border-box;
}
</style>
